home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / tabvie.zip / ORDERVW.H < prev    next >
C/C++ Source or Header  |  1994-04-11  |  1KB  |  60 lines

  1. // ordervw.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // COrderView form view
  6.  
  7. #ifndef __AFXEXT_H__
  8. #include <afxext.h>
  9. #endif
  10. #ifndef TABVIEW_H
  11. #include "tabview.h"
  12. #endif
  13.  
  14. class COrderView : public CFormView
  15. {
  16.     DECLARE_DYNCREATE(COrderView)
  17. protected:
  18.     COrderView();            // protected constructor used by dynamic creation
  19.  
  20. // Form Data
  21. public:
  22.     //{{AFX_DATA(COrderView)
  23.     enum { IDD = IDD_ORDERS };
  24.     CComboBox    m_tabStyle;
  25.     CComboBox    m_tabLook;
  26.     UINT    m_tabHeight;
  27.     UINT    m_tabMargin;
  28.     BOOL    m_enable;
  29.     //}}AFX_DATA
  30.     CTabView* m_pTabView;
  31.  
  32. // Attributes
  33. public:
  34.  
  35. // Operations
  36. public:
  37.  
  38. // Implementation
  39. protected:
  40.     virtual ~COrderView();
  41.     virtual void OnInitialUpdate();
  42.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43.     // Generated message map functions
  44.     //{{AFX_MSG(COrderView)
  45.     afx_msg void OnTestOrder();
  46.     afx_msg void OnSysCommand(UINT nChar,LONG lParam);
  47.     afx_msg void OnSelchangeTabLook();
  48.     afx_msg void OnSelchangeTabStyle();
  49.     afx_msg void OnSize(UINT nType, int cx, int cy);
  50.     afx_msg void OnApply();
  51.     afx_msg void OnKillFocus(CWnd* pNewWnd);
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54.     void SetPosition(UINT nID,int x,int y);
  55.     void SetSize(UINT nID,int width,int height);
  56.     CRect& GetRect(UINT nID);
  57. };
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.